package com.ln.dm1107.demo02;

/**
 * @author Ln
 * @version 终极版
 * @date 2022/11/7 16:10
 */
public class Test02 {
    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println(Teacher.getInstance());
            }
        }).start();

        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println(Teacher.getInstance());
            }
        }).start();
    }
}
